/*
 * table_CppToken_t.h
 *
 *  Created on: 2012/04/01
 *      Author: guanxiaoying
 */

#ifndef TABLE_CPPTOKEN_T_H_
#define TABLE_CPPTOKEN_T_H_

typedef struct _CPPTOEKN_T_ACCESS{
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	BOOL (*copy)( AST, AST, AST );
	AST  (*getMax)( VOID );
	AST  (*appendName)( AST, PSZ );
	ACCESS_U2_FIELD tokenKind;
	ACCESS_BOOL_FIELD recFlag;
	ACCESS_STR_FIELD  name;
	//ACCESS_IDX_FIELD  location;
	ACCESS_IDX_FIELD  codeScp;
	ACCESS_IDX_FIELD  macroExt;
	ACCESS_IDX_FIELD  macroExtStack;
}CPPTOEKN_T_ACCESS;
extern const CPPTOEKN_T_ACCESS stCppTokenAccess;
#endif /* TABLE_CPPTOKEN_T_H_ */
